//
//  MessageAudioCSUView.h
//  SouthChina
//
//  Created by creator_lq on 14/12/17.
//  Copyright (c) 2014年 科创. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MessageAudioRecoder.h"


@protocol MessageAudioRecoderCSUDelegate <NSObject>
@optional

-(void)onRecordComplete:(NSURL*) localUrl recoder:(int)time;

@end

@interface MessageAudioCSUView : UIView<MessageAudioRecoderDelegate>


@property(nonatomic,retain)UIImageView *voiceImage;
@property(nonatomic,retain)UIImageView *micImage;
@property(nonatomic,retain)UIImageView *cancleImage;
@property(nonatomic,retain)UIButton *hitText;
@property(nonatomic,retain)MessageAudioRecoder *recoder;

@property(nonatomic,retain)UIButton* sayButtom;


@property(assign) id<MessageAudioRecoderCSUDelegate> delegate;


-(void)setSayButtomAction:(UIButton *)saybuttom;

@end
